home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Full / Paragon Drive Backup 9 / DB90_SE_x64.msi / Data1.cab / _2E39B116AB8F49A0941A160AE28437CE < prev    next >
Extensible Markup Language  |  2008-06-28  |  10KB  |  240 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet 
  4.   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.   xmlns:msxsl="urn:schemas-microsoft-com:xslt"
  6.   xmlns:pss="www.paragon.ag"
  7.   version="1.0">
  8.  
  9. <xsl:output 
  10.   method="html" 
  11.   version="4.0" 
  12.   encoding="UTF-8" 
  13.   omit-xml-declaration="yes" 
  14.   indent="yes"/>
  15.  
  16. <xsl:template match="/Root">
  17.  
  18. <html>
  19.   <head>
  20.     <style type="text/css">
  21.       BODY {font-family: Verdana; font-size: 12px; text-align: left; vertical-align: text-top; background-color: #C8D3DD;} 
  22.       TABLE {font-family: Verdana; font-size: 12px; text-align: left; vertical-align: text-top; } 
  23.     
  24.       .prodimg {padding-right: 10px;}
  25.       .copyright {font-family: Verdana; font-size: 9px;  color: #FFFFFF; text-align: right; padding-right: 8px;}
  26.       .OuterGroup { font-family: Verdana; font-size: 12px; text-align: left; vertical-align: text-top; color: #003366; padding-left: 30px;}
  27.       .VersionGroup { font-weight: normal; font-family: Verdana; font-size: 10px; text-align: left; vertical-align: text-top; color: #576C94; padding-left: 15px;}
  28.       .sales {font-family: Verdana; font-size: 12px;  color: #000000; text-align: left; padding-left: 30px;}
  29.       .proddesc { font-family: Verdana; font-size: 16px;}
  30.   
  31.       h1 { font-family: Verdana; font-size: 25px; color: #576C94; text-align: right; margin-top: 0px; margin-bottom: 0px; padding-right: 8px;}
  32.   
  33.       h2 { font-family: Verdana; font-size: 18px; text-align: left; padding-left: 15px; padding-top: 15px; padding-right: 10px;}
  34.       h4 { font-family: Verdana; font-size: 14px; text-align: left; padding-left: 25px; padding-top: 25px; padding-right: 10px;}
  35.       h3 { font-family: Verdana; font-size: 12px; text-align: left; padding-left: 45px; padding-top: 10px;}
  36.       A:link, A:active, A:visited { text-decoration: none; font-family: Verdana; font-size: 12px; font-weight: bold;  text-decoration: underline;}
  37.       
  38.       A:link {color: #003366; font-size: 12px;}
  39.       A:visited {color: #003366; font-size: 12px;}
  40.       A:active {color: #003366; font-size: 12px;}
  41.       A:hover {color: #333333; font-size: 12px;}
  42.     </style>
  43.   
  44.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  45.   </head>
  46.  
  47.   <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  48.     <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  49.       <tr> 
  50.         <!-- Company Logo image -->
  51.         <td width="215" height="79">
  52.           <img src="<pss:image external="company_logo.jpg"/>" width="215" height="79">
  53.         </td>
  54.         <!-- Product Title and company copyright -->
  55.         <td width="100%" background="<pss:image external="top_bgr.jpg"/>">
  56.           <table width="100%">
  57.             <tr>
  58.               <td align="right">
  59.                 <nobr>
  60.                   <h1><xsl:value-of select="PropertyBag/Property[@name='ProductTitle']"/></h1>
  61.                 </nobr>
  62.               </td>
  63.             </tr>
  64.             <tr>
  65.               <td align="right">
  66.                 <nobr>
  67.                   <span class="copyright">
  68.                     <b><xsl:value-of select="PropertyBag/Property[@name='ProductCopyright']" disable-output-escaping="yes"/></b>
  69.                   </span>
  70.                 </nobr>
  71.               </td>
  72.             </tr>
  73.           </table>
  74.         </td>
  75.         <td width="2">
  76.           <img src="<pss:image external="top_r.jpg"/>" width="2" height="79">
  77.         </td>
  78.       </tr>
  79.   
  80.       <tr valign="top"> 
  81.         <td colspan="3">
  82.           <!-- Version information -->
  83.           
  84.           <h2> 
  85.             <div class="prodimg">
  86.               <img src="<pss:image external="launcher_about_logo.jpg"/>" width="166" height="354" align="right">
  87.             </div>
  88.             QT_TRANSLATE_NOOP("QObject", "Version information")
  89.           </h2>
  90.           <br/>
  91.           
  92.           <div class="OuterGroup">
  93.             <strong class="proddesc">
  94.               <xsl:value-of select="PropertyBag/Property[@name='ProductDescription']" disable-output-escaping="yes"/>
  95.  
  96.               <xsl:if test="PropertyBag/Property[@name='ProductEdition']">
  97.                  <xsl:value-of select="PropertyBag/Property[@name='ProductEdition']" disable-output-escaping="yes"/>
  98.               </xsl:if>
  99.               <br/>
  100.               <br/>
  101.             </strong>
  102.             
  103.             <xsl:choose>
  104.                 <xsl:when test="PropertyBag/Property[@name='ProductRegisteredUser']">
  105.                   <strong>
  106.                     QT_TRANSLATE_NOOP("QObject", "Registered to:")
  107.                     <br/>
  108.                     <br/>
  109.                   </strong>
  110.                   <div class="VersionGroup">
  111.                     <xsl:value-of select="PropertyBag/Property[@name='ProductRegisteredUser']" disable-output-escaping="yes"/>
  112.                     <xsl:if test="PropertyBag/Property[@name='ProductSerialNumber']">
  113.                       <br/>
  114.                       QT_TRANSLATE_NOOP("QObject", "Serial number:")
  115.                       <xsl:value-of select="PropertyBag/Property[@name='ProductSerialNumber']" disable-output-escaping="yes"/>
  116.                     </xsl:if>
  117.                   </div>
  118.                   <br/>
  119.                 </xsl:when>
  120.  
  121.                 <xsl:otherwise>
  122.                   <xsl:if test="PropertyBag/Property[@name='ProductSerialNumber']">
  123.                     <strong>
  124.                       QT_TRANSLATE_NOOP("QObject", "Serial number:")
  125.                       <br/>
  126.                       <br/>
  127.                     </strong>
  128.                     <div class="VersionGroup">
  129.                       <xsl:value-of select="PropertyBag/Property[@name='ProductSerialNumber']" disable-output-escaping="yes"/>
  130.                     </div>
  131.                     <br/>
  132.                   </xsl:if>
  133.                 </xsl:otherwise>
  134.             
  135.             </xsl:choose>
  136.  
  137.             <strong>
  138.               QT_TRANSLATE_NOOP("QObject", "Components versions:")
  139.               <br/>
  140.               <br/>
  141.             </strong>
  142.             
  143.             <div class="VersionGroup">
  144.     
  145.               <xsl:if test="PropertyBag/Property[@name='BaselibDescription']">      
  146.                 <xsl:value-of select="PropertyBag/Property[@name='BaselibDescription']" disable-output-escaping="yes"/>
  147.                 <br/>
  148.               </xsl:if>
  149.     
  150.               <xsl:if test="PropertyBag/Property[@name='WizardsDescription']">      
  151.                 <xsl:value-of select="PropertyBag/Property[@name='WizardsDescription']" disable-output-escaping="yes"/>
  152.                 <br/>
  153.               </xsl:if>
  154.             
  155.               <xsl:if test="PropertyBag/Property[@name='EngineDescription']">      
  156.                 <xsl:value-of select="PropertyBag/Property[@name='EngineDescription']" disable-output-escaping="yes"/>
  157.               </xsl:if>
  158.             </div>
  159.     
  160.           </div>
  161.     
  162.           <!-- Support links-->
  163.           <h2>QT_TRANSLATE_NOOP("QObject", "Support links")</h2>
  164.           <div class="OuterGroup">
  165.             <a>
  166.               <xsl:attribute name="href">
  167.                 <xsl:value-of select="PropertyBag/Property[@name='ProductHomeURL']" disable-output-escaping="yes"/>
  168.               </xsl:attribute>
  169.               QT_TRANSLATE_NOOP("QObject", "Product Home Page")
  170.             </a>
  171.             <br/>
  172.  
  173.             <a>
  174.               <xsl:attribute name="href">
  175.                 <xsl:value-of select="PropertyBag/Property[@name='ProductRegURL']" disable-output-escaping="yes"/>
  176.               </xsl:attribute>
  177.             QT_TRANSLATE_NOOP("QObject", "Product Registration")
  178.             </a>
  179.             <br/>
  180.             
  181.             <a>
  182.               <xsl:attribute name="href">
  183.                 <xsl:value-of select="PropertyBag/Property[@name='ProductKBaseURL']" disable-output-escaping="yes"/>
  184.               </xsl:attribute>
  185.               QT_TRANSLATE_NOOP("QObject", "Support Knowledge Base")
  186.             </a>
  187.             <br/>
  188.  
  189.             <a>
  190.               <xsl:attribute name="href">
  191.                 <xsl:value-of select="PropertyBag/Property[@name='ProductUpdatesURL']" disable-output-escaping="yes"/>
  192.               </xsl:attribute>
  193.               QT_TRANSLATE_NOOP("QObject", "Download Free Update")
  194.             </a>
  195.           </div>
  196.  
  197.           <!--Contact Information-->      
  198.           <h2>
  199.             QT_TRANSLATE_NOOP("QObject", "Contact Information")
  200.           </h2>
  201.           
  202.           <table width="100%" border="0" cellspacing="0" cellpadding="1">
  203.             <tr> 
  204.               <td> 
  205.                 <div class="OuterGroup">
  206.                   <nobr>QT_TRANSLATE_NOOP("QObject", "Company Home Page:")</nobr><br/>
  207.                   <nobr>QT_TRANSLATE_NOOP("QObject", "Sales E-mail:")</nobr><br/>
  208.                   <nobr>QT_TRANSLATE_NOOP("QObject", "Sales Phone:")</nobr>
  209.                 </div>
  210.               </td>
  211.               <td width="100%">
  212.                 <a>
  213.                   <xsl:attribute name="href">
  214.                     <xsl:value-of select="PropertyBag/Property[@name='CompanyHomeURL']"/>
  215.                   </xsl:attribute>
  216.                   <xsl:value-of select="PropertyBag/Property[@name='CompanyHomeURL']" disable-output-escaping="yes"/>
  217.                 </a>
  218.                 <br/>
  219.                 
  220.                 <a>
  221.                   <xsl:attribute name="href">
  222.                     mailto:<xsl:value-of select="PropertyBag/Property[@name='CompanySalesEmail']"/>
  223.                   </xsl:attribute>
  224.                   <xsl:value-of select="PropertyBag/Property[@name='CompanySalesEmail']" disable-output-escaping="yes"/>
  225.                 </a>
  226.                 <br/>
  227.                 
  228.                 <strong><xsl:value-of select="PropertyBag/Property[@name='CompanySalesPhone']" disable-output-escaping="yes"/></strong>
  229.               </td>
  230.             </tr>
  231.           </table>
  232.         </td>
  233.       </tr>
  234.     </table>
  235.   </body>
  236. </html>
  237.  
  238. </xsl:template>
  239. </xsl:stylesheet>
  240.